Understanding the <dd> Tag
The <dd>
tag is used in conjunction with the <dl>
tag, which defines the description list, and the <dt>
tag, which defines the terms in the description list. The <dd>
tag can contain various elements such as paragraphs, line breaks, images, links, and lists.
Syntax:
<dd> Contents... </dd>
Default CSS:
The default styling for dd tag
dd{
display: block;
margin-left: 40px;
}
HTML Tag
HTML is a language full of diverse elements, and one such element is the <dd>
tag. This tag, standing for ‘definition description’, is used to provide a description or definition of an item in a description list.